PEGetSectionCode

Use PEGetSectionCode to retrieve the section code for the specified section. A section code indicates the section type (Page Header, Details, etc.). If there are multiple group sections it also identifies the group number, and if there are multiple sections in an area it identifies the section number. See Working with section codes.

C Syntax
short CRPE_API PEGetSectionCode (
        short printJob,
        short sectionN );
Parameters

printJob

Specifies the print job from which you want to retrieve a section code.

sectionN

Specifies the number of the section for which you want the section code. This parameter should be within the range obtained by PEGetNSections.

Returns
VB Syntax

VB Sample Code for modifying sections and lines

Declare Function PEGetSectionCode Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal sectionN As Integer ) As Integer
Delphi Syntax

Delphi code for getting/setting section format

function PEGetSectionCode (
    printJob: Word;
    sectionN: Smallint
    ): Smallint stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com